﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataModel
{
    public class GpsInfo
    {
        /// <summary>
        /// 设备号
        /// </summary>
        public string DeviceNo { get; set; }

        /// <summary>
        /// GPS时间
        /// </summary>
        public string GpsTime { get; set; }

        /// <summary>
        /// 纬度，以度为单位的纬度值乘以10 的6 次方，精确到百万分之一度
        /// </summary>
        public double LatitudeOld { get; set; }
        /// <summary>
        /// 经度，以度为单位的经度值乘以10 的6 次方，精确到百万分之一度
        /// </summary>
        public double LongitudeOld { get; set; }

        /// <summary>
        /// 纠偏之后的经度
        /// </summary>
        public double LongitudeNew { get; set; }
        /// <summary>
        /// 纠偏之后的纬度
        /// </summary>
        public double LatitudeNew { get; set; }

        /// <summary>
        /// 卫星定位速度km/h
        /// </summary>
        public string GpsSpeed { get; set; }

        /// <summary>
        /// 行驶记录速度 km/h
        /// </summary>
        public string Speed { get; set; }

        /// <summary>
        /// 油量
        /// </summary>
        public double OilMass { get; set; }

        /// <summary>
        /// 海拔高度，单位为m
        /// </summary>
        public int Height { get; set; }

        /// <summary>
        /// 方向，0-359，正北为0，顺时针
        /// </summary>
        public int Direction { get; set; }

        /// <summary>
        /// 对应车上里程表读数  1/10km
        /// </summary>
        public int Mileage { get; set; }


        /// 车辆运行状态
        /// </summary>
        public string PowerState { get; set; }

        /// 定位状态
        /// </summary>
        public string GpsState { get; set; }

        /// <summary>
        /// 位置信息
        /// </summary>
        public string Location { get; set; }


        /// ACC状态
        /// </summary>
        public string AccState { get; set; }

        /// <summary>
        /// 车辆状态
        /// </summary>
        public string CarState { get; set; }

        /// <summary>
        /// 车辆报警
        /// </summary>
        public string Alarm { get; set; }



        /// <summary>
        /// 最后一次更新数据库时间
        /// </summary>
        public string UpdateDate { get; set; }

        /// <summary>
        /// 数据上传方式 1、主动，2、应答
        /// </summary>
        public int Uploadmode { get; set; }


        /// <summary>
        /// 报警标识
        /// </summary>
        public bool isAlarm { get; set; }

    }
}
